package com.new1cloud;

import com.new1cloud.file.upload.client.bootstrap.FileUploadClient;

import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        List<String> sourceFilePaths = new ArrayList<>();
        sourceFilePaths.add("C:/Users/61915/Desktop/MY_PRO/BigFilesUpload/Test/ClientData/20240613.txt");
//        sourceFilePaths.add("C:/Users/61915/Desktop/MY_PRO/BigFilesUpload/Test/ClientData/fengjing_1.jpg");

//        String uploadDir = "C:/Users/61915/Desktop/MY_PRO/BigFilesUpload/Test/ServerData/";
        String uploadDir = "/var/www/webservice/BigFilesUpload/ServerData/";

        FileUploadClient client = new FileUploadClient("218.91.237.59",
                17080,
                sourceFilePaths,
                uploadDir);
        client.run();



    }
}